package com.wframe.project.jnd.extinterface.sms;

import com.wframe.framework.spring.SpringContextHolder;

public class SmsConfig {

    private String apiurl;
    private String username;
    private String passwd;
    private String sign;
    private String regtemp;//注册验证码短信模板
    private String findtemp;//找回密码短信模板
    private String changetemp;//更换手机短信模板
    private String ordership;//发货提醒
    private String remindplan;//采购计划提醒
    private String approvesuccess;//企业认证通过
    private String approvefailure;//企业认证不通过
    public static final int SmsLimit = 300;//验证码失效时长（秒）

    private SmsConfig() {
    }

    public static SmsConfig getConfig() {
        return SpringContextHolder.getBean("smsConfig");
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getRegtemp() {
        return regtemp;
    }

    public void setRegtemp(String regtemp) {
        this.regtemp = regtemp;
    }

    public String getFindtemp() {
        return findtemp;
    }

    public void setFindtemp(String findtemp) {
        this.findtemp = findtemp;
    }

    public String getChangetemp() {
        return changetemp;
    }

    public void setChangetemp(String changetemp) {
        this.changetemp = changetemp;
    }

    public String getApiurl() {
        return apiurl;
    }

    public void setApiurl(String apiurl) {
        this.apiurl = apiurl;
    }

    public String getOrdership() {
        return ordership;
    }

    public void setOrdership(String ordership) {
        this.ordership = ordership;
    }

    public String getApprovesuccess() {
        return approvesuccess;
    }

    public void setApprovesuccess(String approvesuccess) {
        this.approvesuccess = approvesuccess;
    }

    public String getApprovefailure() {
        return approvefailure;
    }

    public void setApprovefailure(String approvefailure) {
        this.approvefailure = approvefailure;
    }

    public void setRemindplan(String remindplan) {
        this.remindplan = remindplan;
    }

    public String getRemindplan() {
        return remindplan;
    }

}
